import Home from "../pages/Home"
import Login from "../pages/Login"
import { childrouter } from "./childRoute"

const router=[{
    path:'/home',
    name:'主页',
    element:<Home/>,
    children:childrouter
},{
    path:'/login',
    name:'登录',
    element:<Login/>
}]

export default router